package cn.lili.modules.grab.dingdong.reps.after;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GetOrderRefundInfoRespose {

    @ApiModelProperty("企叮咚订单编号")
    private String order_sn;
    @ApiModelProperty("订单状态 0已支付 3配货中 1已发货 4已完成 9已关闭 6支付中")
    private String status;
    @ApiModelProperty("订单状态文字描述")
    private String status_cn;
    @ApiModelProperty("订单商品规格id")
    private String spec_id;
    @ApiModelProperty("售后详情")
    private List<Refund> refund;

    @Data
    public static class Refund {
        @ApiModelProperty("售后申请单号")
        private String apply_sn;
        @ApiModelProperty("售后申请数量")
        private String num;
        @ApiModelProperty("总计退款金额，单位：分")
        private String price;
        @ApiModelProperty("退款运费金额，单位：分")
        private String ship_price;
        @ApiModelProperty("退款商品金额，单位：分")
        private String goods_price;
        @ApiModelProperty("售后申请单类型，1退款，2退货，3收发换货， 4互发换货")
        private String apply_type;
        @ApiModelProperty("售后申请单类型文字描述")
        private String apply_type_cn;
        @ApiModelProperty("1提交，21驳回，5完成，61取消，2/22/23/24/25/3/31/32/4/41/43/6/7/71/72/46/47/73：进行中")
        private String status;
        @ApiModelProperty("售后申请单类型文字描述")
        private String status_cn;
        @ApiModelProperty("退回方式，仅非换货时有效 1银行卡，2支付宝，3通联余额，4原路退回")
        private String pay_type;
        @ApiModelProperty("退回方式文字描述")
        private String pay_type_cn;
        @ApiModelProperty("预约服务单号")
        private String service_sn;
        @ApiModelProperty("需寄回商品时，收件人名称")
        private String consignee_name;
        @ApiModelProperty("需寄回商品时，收件人电话")
        private String consignee_phone;
        @ApiModelProperty("需寄回商品时，寄回收件人地址")
        private String consignee_address;
        @ApiModelProperty("退款是否到账，0未到账，1已到账")
        private String arrive;
        @ApiModelProperty("到账状态文字描述")
        private String arrive_cn;
        @ApiModelProperty("到账时间")
        private String arrive_time;
    }
}
